export default {
    getShader: function () {
        return `
    attribute vec4 a_Position;
    attribute vec3 a_Normal;
    uniform mat4 u_ModelM4;
    uniform mat4 u_PvM4;
    varying vec4 v_Posi;
    varying vec3 v_Normal;
    varying vec4 v_Center;
    void main(){
        vec4 posi = u_PvM4 * u_ModelM4 * a_Position;
        gl_Position = posi;
        v_Posi = posi;
        v_Normal = normalize(a_Normal);
        v_Center = (u_ModelM4 * vec4(vec3(0), 1.0)); 
    }
        `;
    }
}
